-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fast/warm-reboot] Retain TRANSCEIVER_INFO tables on fast/warm-reboot #3240
[fast/warm-reboot] Retain TRANSCEIVER_INFO tables on fast/warm-reboot #3240
Conversation
Signed-off-by: Stepan Blyschak <[email protected]>
@mihirpat1 @vaibhavhd please review |
scripts/fast-reboot
Outdated
@@ -252,6 +252,8 @@ function backup_database() | |||
and not string.match(k, 'MIRROR_SESSION_TABLE|') \ | |||
and not string.match(k, 'FG_ROUTE_TABLE|') \ | |||
and not string.match(k, 'WARM_RESTART_ENABLE_TABLE|') \ | |||
and not string.match(k, 'TRANSCEIVER_INFO|') \ | |||
and not string.match(k, 'TRANSCEIVER_STATUS|') \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stepanblyschak OA subscribes to TRANSCEIVER_INFO, why save TRANSCIEVER_STATUS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stepanblyschak As discussed offline, lets fix your platform API so that Xcvrd can identify already present transceivers.
@prgeor removed TRANSCEIVER_STATUS |
…sonic-net#3240) * [fast/warm-reboot] Retain TRANSCEIVER_INFO/STATUS tables on reboot Signed-off-by: Stepan Blyschak <[email protected]> * Remove TRANSCEIVER_STATUS --------- Signed-off-by: Stepan Blyschak <[email protected]>
Cherry-pick PR to 202311: #3319 |
…#3240) * [fast/warm-reboot] Retain TRANSCEIVER_INFO/STATUS tables on reboot Signed-off-by: Stepan Blyschak <[email protected]> * Remove TRANSCEIVER_STATUS --------- Signed-off-by: Stepan Blyschak <[email protected]>
…sonic-net#3240) * [fast/warm-reboot] Retain TRANSCEIVER_INFO/STATUS tables on reboot Signed-off-by: Stepan Blyschak <[email protected]> * Remove TRANSCEIVER_STATUS --------- Signed-off-by: Stepan Blyschak <[email protected]>
What I did
Retain TRANSCEIVER_INFO tables on fast/warm reboot. The PHY isn't reset on fast/warm reboot. Knowing about plugged modules is required for orchagent to set SAI_PORT_ATTR_HOST_TX_SIGNAL_ENABLE=true on start.
How I did it
Save TRANSCEIVER_INFO tables on warm/fast-reboot.
How to verify it
Run fast/warm-reboot.
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)